type go/types.object
38 uses
go/types (current package)
object.go#L101: type object struct {
object.go#L145: func (obj *object) Parent() *Scope { return obj.parent }
object.go#L148: func (obj *object) Pos() token.Pos { return obj.pos }
object.go#L152: func (obj *object) Pkg() *Package { return obj.pkg }
object.go#L155: func (obj *object) Name() string { return obj.name }
object.go#L158: func (obj *object) Type() Type { return obj.typ }
object.go#L163: func (obj *object) Exported() bool { return isExported(obj.name) }
object.go#L166: func (obj *object) Id() string { return Id(obj.pkg, obj.name) }
object.go#L168: func (obj *object) String() string { panic("abstract") }
object.go#L169: func (obj *object) order() uint32 { return obj.order_ }
object.go#L170: func (obj *object) color() color { return obj.color_ }
object.go#L171: func (obj *object) scopePos() token.Pos { return obj.scopePos_ }
object.go#L173: func (obj *object) setParent(parent *Scope) { obj.parent = parent }
object.go#L174: func (obj *object) setType(typ Type) { obj.typ = typ }
object.go#L175: func (obj *object) setOrder(order uint32) { assert(order > 0); obj.order_ = order }
object.go#L176: func (obj *object) setColor(color color) { assert(color != white); obj.color_ = color }
object.go#L177: func (obj *object) setScopePos(pos token.Pos) { obj.scopePos_ = pos }
object.go#L179: func (obj *object) sameId(pkg *Package, name string, foldCase bool) bool {
object.go#L209: func (a *object) cmp(b *object) int {
object.go#L246: object
object.go#L253: return &PkgName{object{nil, pos, pkg, name, Typ[Invalid], 0, black, nopos}, imported}
object.go#L262: object
object.go#L269: return &Const{object{nil, pos, pkg, name, typ, 0, colorFor(typ), nopos}, val}
object.go#L283: object
object.go#L294: return &TypeName{object{nil, pos, pkg, name, typ, 0, colorFor(typ), nopos}}
object.go#L335: object
object.go#L345: return &Var{object: object{nil, pos, pkg, name, typ, 0, colorFor(typ), nopos}}
object.go#L350: return &Var{object: object{nil, pos, pkg, name, typ, 0, colorFor(typ), nopos}, isParam: true}
object.go#L357: return &Var{object: object{nil, pos, pkg, name, typ, 0, colorFor(typ), nopos}, embedded: embedded, isField: true}
object.go#L390: object
object.go#L407: return &Func{object{nil, pos, pkg, name, typ, 0, colorFor(typ), nopos}, false, nil}
object.go#L483: object
object.go#L489: return &Label{object{pos: pos, pkg: pkg, name: name, typ: Typ[Invalid], color_: black}, false}
object.go#L495: object
object.go#L500: return &Builtin{object{name: predeclaredFuncs[id].name, typ: Typ[Invalid], color_: black}, id}
object.go#L505: object
universe.go#L169: def(&Nil{object{name: "nil", typ: Typ[UntypedNil], color_: black}})